package com.hx.good.feign;

import com.hx.common.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @Author wonghiu
 * @Date 2021/6/6 0:46
 * @Version 1.0.1
 */
@FeignClient("miaosha")
public interface MiaoShaFeign {
    @PostMapping(value = "/miaosha/kill")
    R kill(@RequestParam("goodsId") Long goodsId, @RequestParam("randomCode") String randomCode);
}
